package pers.hxy.lookweather.view;

import com.qweather.sdk.bean.geo.GeoBean;
import com.qweather.sdk.bean.weather.WeatherDailyBean;
import com.qweather.sdk.bean.weather.WeatherHourlyBean;
import com.qweather.sdk.bean.weather.WeatherNowBean;

import pers.hxy.lookweather.bean.AqiNowBean;

public interface WeatherView extends BaseView{
    /** 操作成功时可以用Toast显示出来 */
    void showSuccess(String msg);

    /** 操作失败，一般是网络问题 */
    void showError(String msg);

    /** 得到城市地理位置信息，然后更新天气信息 */
    void getGeo(GeoBean geoBean);

    /** 获取当前天气 */
    void getWeatherNow(WeatherNowBean weatherNowBean);

    /** 未来24小时逐小时天气预报 */
    void getWeather24H(WeatherHourlyBean weatherHourlyBean);

    /** 7天天气预报 */
    void getWeather7D(WeatherDailyBean weatherDailyBean);

    /** 当前天气质量指数(Air Quality Index) */
    void getAqiNow(AqiNowBean aqiNowBean);
}
